/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package data.xml_persistence.transform_model;

/**
 *
 * @author zhenia
 */
public class Route {

    private String id;
    private int frequency;
    private double rating;
    private int weeklyPassengers;
    private String departureAirport;
    private String arrivalAirport;

    public Route(String id, int frequency, double rating, int weeklyPassengers, String departureAirport, String arrivalAirport) {
        this.id = id;
        this.frequency = frequency;
        this.rating = rating;
        this.weeklyPassengers = weeklyPassengers;
        this.departureAirport = departureAirport;
        this.arrivalAirport = arrivalAirport;
    }

    public String getArrivalAirport() {
        return arrivalAirport;
    }

    public void setArrivalAirport(String arrivalAirport) {
        this.arrivalAirport = arrivalAirport;
    }

    public String getDepartureAirport() {
        return departureAirport;
    }

    public void setDepartureAirport(String departureAirport) {
        this.departureAirport = departureAirport;
    }

    public int getFrequency() {
        return frequency;
    }

    public void setFrequency(int frequency) {
        this.frequency = frequency;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public double getRating() {
        return rating;
    }

    public void setRating(double rating) {
        this.rating = rating;
    }

    public int getWeeklyPassengers() {
        return weeklyPassengers;
    }

    public void setWeeklyPassengers(int weeklyPassengers) {
        this.weeklyPassengers = weeklyPassengers;
    }
}
